//
//  LTTableViewCell.m
//  10-homeWork
//
//  Created by 402030900@qq.com on 16/7/27.
//  Copyright © 2016年 402030900@qq.com. All rights reserved.
//

#import "LTTableViewCell.h"

@implementation LTTableViewCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.LeftImageView = [[UIImageView alloc]init];
        [self.contentView addSubview:_LeftImageView];
        self.rightLabel = [[UILabel alloc]init];
        [self.contentView addSubview:_rightLabel];
        
    }
    return self;
}
-(void)layoutSubviews{
    [super layoutSubviews];
    _LeftImageView.frame = CGRectMake(20, 20, 120, 60);
    _rightLabel.frame = CGRectMake(100, 20, 335 - 120, 60);
    _LeftImageView.backgroundColor = [UIColor redColor];
    _rightLabel.backgroundColor = [UIColor greenColor];


}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
